#pragma once
#ifndef __MESHPARTINFO_H__
#define __MESHPARTINFO_H__

namespace WindGE
{
	struct MeshPartInfo
	{
		MeshPartInfo() : vertexCount(0), indexCount(0), vertexOffset(0), indexOffset(0) {}
		MeshPartInfo(unsigned int vc, unsigned int vo, unsigned int ic, unsigned int io)
			: vertexCount(vc), indexCount(ic), vertexOffset(vo), indexOffset(io) {}

		void set(unsigned int vo, unsigned int vc, unsigned int io, unsigned int ic)
		{
			vertexOffset = vo;
			vertexCount = vc;
			indexOffset = io;
			indexCount = ic;
		}

		unsigned int vertexCount;
		unsigned int indexCount;
		unsigned int vertexOffset;
		unsigned int indexOffset;
	};

}//end namespace WindGE

#endif // !__MESHPARTINFO_H__
